package cbc.dao.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * THealthCenter entity. @author MyEclipse Persistence Tools
 */

public class THealthCenter implements java.io.Serializable {

	// Fields

	private Integer healthCenterId;
	private THealthCenter healthCenter;
	private String healthCenterName;
	private String address;
	private String phone;
	private String limit;
	private Set<THealthCenter> healthCenters = new HashSet<THealthCenter>();
	private Set<TDoctor> doctors = new HashSet<TDoctor>();

	// Constructors

	/** default constructor */
	public THealthCenter() {
	}

	/** full constructor */
	public THealthCenter( String healthCenterName,
			String address, String phone, String limit) {
		
		this.healthCenterName = healthCenterName;
		this.address = address;
		this.phone = phone;
		this.limit = limit;
		
	}

	// Property accessors

	public Integer getHealthCenterId() {
		return this.healthCenterId;
	}

	public void setHealthCenterId(Integer healthCenterId) {
		this.healthCenterId = healthCenterId;
	}



	public String getHealthCenterName() {
		return this.healthCenterName;
	}

	public void setHealthCenterName(String healthCenterName) {
		this.healthCenterName = healthCenterName;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getLimit() {
		return this.limit;
	}

	public void setLimit(String limit) {
		this.limit = limit;
	}

	public THealthCenter getHealthCenter() {
		return healthCenter;
	}

	public void setHealthCenter(THealthCenter healthCenter) {
		this.healthCenter = healthCenter;
	}

	public Set<THealthCenter> getHealthCenters() {
		return healthCenters;
	}

	public void setHealthCenters(Set<THealthCenter> healthCenters) {
		this.healthCenters = healthCenters;
	}

	public Set<TDoctor> getDoctors() {
		return doctors;
	}

	public void setDoctors(Set<TDoctor> doctors) {
		this.doctors = doctors;
	}

	

}